<!--
 * @Author: wangjh wangjiahui0710@163.com
 * @Date: 2024-08-28 15:20:43
 * @LastEditors: wangjh wangjiahui0710@163.com
 * @LastEditTime: 2024-09-24 15:22:55
 * @FilePath: \aqscpx_admin\src\pages\park\training-plan\components\handler.vue
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<script lang="ts" setup>
import { injectState } from "../state";

defineOptions({ name: "Headler" });

const { selectedList, tableRef, detailDialogRef } = injectState()!;
</script>

<template>
	<div flex="~ justify-between">
		<div flex="~">
			<el-button
				@click="detailDialogRef?.trigger('create')"
				style="width: 80px"
				type="primary"
			>
				+ 新建
			</el-button>
			<!-- <el-button :disabled="selectedList.length === 0" style="width: 100px">
				批量删除
			</el-button> -->
		</div>
	</div>
</template>
